package com.xframe.domain.role;

import com.xframe.domain.BaseModel;
import com.xframe.domain.sys.SysModelAct;
import com.xframe.xdal.core.annotation.AutoFill;
import com.xframe.xdal.core.annotation.XColumn;
import com.xframe.xdal.core.annotation.XHasMany;
import com.xframe.xdal.core.annotation.XTable;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description: 菜单参数配置(组件配置)
 * @ClassName: SysMenuConfigs
 * @Author: Lean.Liu
 * @CreateTime: 2023/4/4 16:55
 **/
@Data
@Accessors(chain=true)
@XTable(value = "SYS_MENU_CONFIGS", label = "菜单参数配置表(组件表)")
public class SysMenuConfigs extends BaseModel {
    /**
     * 组件配置ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "MENU_CONFIG_ID", primaryKeyFlag = true,desc = "组件配置ID")
    private Long menuConfigId;
    /**
     * 菜单表ID
     */
    @XColumn(name = "MENU_ID", uniqueFlag = true,desc = "菜单表ID")
    private Long menuId;
    /**
     * 参数KEY
     */
    @XColumn(name = "MENU_CONFIG_KEY",uniqueFlag = true,desc = "参数KEY",length = 20)
    private String key;
    /**
     * 参数值
     */
    @XColumn(name = "MENU_CONFIG_VAL",desc = "附加参数值",length = 1000,nullFlag = true)
    private String val;

}
